﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WxSDK.Model
{
    [WxPetaPoco.TableName("wx_res")]
    [WxPetaPoco.PrimaryKey("Id")]
    public class wx_res
    {
        #region Model
        private int _id;
        private int _memberid;
        private int _restype;
        private string _rescategory;
        private string _title;
        private string _author;
        private string _imgurl;
        private string _intro;
        private string _link;
        private string _cont;
        private int _sortid;
        private DateTime _addtime;
        private int _islock = 0;
        /// <summary>
        /// 微信素材表
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 素材所属的用户ID
        /// </summary>
        public int MemberId
        {
            set { _memberid = value; }
            get { return _memberid; }
        }
        /// <summary>
        /// 素材类型    1图文   2图片库   3语音   4视频
        /// </summary>
        public int ResType
        {
            set { _restype = value; }
            get { return _restype; }
        }
        /// <summary>
        /// 素材的分类 每个素材有对
        /// </summary>
        public string ResCategory
        {
            set { _rescategory = value; }
            get { return _rescategory; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 图片URL
        /// </summary>
        public string ImgUrl
        {
            set { _imgurl = value; }
            get { return _imgurl; }
        }
        /// <summary>
        /// 简介
        /// </summary>
        public string Intro
        {
            set { _intro = value; }
            get { return _intro; }
        }
        /// <summary>
        /// 链接
        /// </summary>
        public string Link
        {
            set { _link = value; }
            get { return _link; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Cont
        {
            set { _cont = value; }
            get { return _cont; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int SortId
        {
            set { _sortid = value; }
            get { return _sortid; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int IsLock
        {
            set { _islock = value; }
            get { return _islock; }
        }
        #endregion Model
    }
}
